import React from 'react';
import { Provider } from 'react-redux'
import ReactDOM from 'react-dom';
import App from './App';
// 导入store
import store from '@/store/index'
//导入路由 
import { BrowserRouter as Router } from "react-router-dom";
//汉化antd组件
import { ConfigProvider } from 'antd';
import zhCN from 'antd/lib/locale/zh_CN';
import 'antd/dist/antd.css';
ReactDOM.render(
	<ConfigProvider locale={zhCN}>
		<Router>
			<Provider store={store}>
				<App />
			</Provider>
		</Router>
	</ConfigProvider>,
	document.getElementById('root')
);
